export default {
  pages: [
    'pages/index/index',
    'pages/user/index',
    'pages/book/index',
    'pages/record/index',
    'pages/book-detail/index',
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black',
  },
  tabBar: {
    color: '#333',
    selectedColor: '#1cbbb4',
    backgroundColor: '#fff',
    borderStyle: 'black',
    list: [
      {
        pagePath: 'pages/index/index',
        text: '首页',
        iconPath: './assets/tabbar/home.png',
        selectedIconPath: './assets/tabbar/home_active.png',
      },
      {
        pagePath: 'pages/book/index',
        text: '书架',
        iconPath: './assets/tabbar/book.png',
        selectedIconPath: './assets/tabbar/book_active.png',
      },
      {
        pagePath: 'pages/user/index',
        text: '我的',
        iconPath: './assets/tabbar/mine2.png',
        selectedIconPath: './assets/tabbar/mine2_active.png',
      },
    ],
  },

  // 其他配置
  request: {
    baseURL: 'https://10.227.207.64:8083', // 全局 baseURL
    dataType: 'json',
    header: {
      'Content-Type': 'application/json',
    },
  },
  // 配置域名白名单
  networkTimeout: {
    request: 60000, // 请求超时时间
  },
  // 配置合法域名
  domainWhiteList: ['https://10.227.207.64:8083'], // 添加你的域名
}
